package model.events.errors;

import static util.Strings.STR_ERROR_OCCURED;

public abstract class ErrorEvent {

    private String message;
    
    public ErrorEvent() {
        this(STR_ERROR_OCCURED);
    }
    
    public ErrorEvent(String message) {
        this.message = message;
    }
    
    public String getMessage() {
        return this.message;
    }
    
    public void setMessage(String message) {
        this.message = message;
    }
    
    
}
